<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>

    document.write("hello js")

    console.log("hello js2")

    alert("要下雨了记得收衣服!")

</script>
</html>